home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscSoundPalette / Makefile.postamble < prev    next >
Encoding:
Makefile  |  1993-10-22  |  4.9 KB  |  114 lines

  1. #    MiscSoundPalette Postamble
  2. #    basically lifted from a mini-example
  3. #    this is 3.1 specific, and will enable the building of FAT palletes!
  4.  
  5. #LIBTOOL = /bin/ar r         # for 3.0
  6. LIBTOOL = /bin/libtool -o    # for 3.1, 3.2, fat palettes
  7.  
  8. ###############################################################################
  9. #  NeXT Makefile.postamble Template
  10. #  Copyright 1993, NeXT Computer, Inc.
  11. #
  12. #  This Makefile is used for configuring the standard app makefiles associated
  13. #  with ProjectBuilder.  
  14. #  
  15. #  Use this template to set attributes for a project, sub-project, bundle, or
  16. #  palette.  Each node in the project's tree of sub-projects and bundles 
  17. #  should have it's own Makefile.preamble and Makefile.postamble.  Additional
  18. #  rules (e.g., after_install) that are defined by the developer should be
  19. #  defined in this file.
  20. #
  21. ###############################################################################
  22. # Here are the variables exported by the common "app" makefiles that can be 
  23. # used in any customizations you make to the template below:
  24. #    PRODUCT_ROOT - Name of top-level app-wrapper (e.g., Webster.app)
  25. #    OFILE_DIR - Directory into which .o object files are generated.
  26. #            (Note that this name is calculated based on the target 
  27. #             architectures specified in Project Builder).
  28. #    DERIVED_SRC_DIR - Directory used for all other derived files
  29. #    ALL_CFLAGS - All the flags passed to the cc(1) driver for compilations
  30. #
  31. #    NAME - name of application, bundle, subproject, palette, etc.
  32. #    LANGUAGE - langage in which the project is written (default "English")
  33. #    ENGLISH - boolean flag set iff $(LANGUAGE) = "English"
  34. #    JAPANESE - boolean flag set iff $(LANGUAGE) = "Japanese"
  35. #    LOCAL_RESOURCES - localized resources (e.g. nib's, images) of project
  36. #    GLOBAL_RESOURCES - non-localized resources of project
  37. #    PROJECTVERSION - version of ProjectBuilder that output Makefile
  38. #    APPICON - application icon file
  39. #    DOCICONS - dock icon files
  40. #    ICONSECTIONS - Specifies icon sections when linking executable 
  41. #
  42. #    CLASSES - Class implementation files in project.
  43. #    HFILES - Header files in project.
  44. #    MFILES - Other Objective-C source files in project. 
  45. #    CFILES - Other C source files in project. 
  46. #    PSWFILES - .psw files in the project
  47. #    PSWMFILES - .pswm files in the project
  48. #    SUBPROJECTS - Subprojects of this project
  49. #    BUNDLES - Bundle subprojects of this project
  50. #    OTHERSRCS - Other miscellaneous sources of this project
  51. #    OTHERLINKED - Source files not matching a standard source extention
  52. #
  53. #    LIBS - Libraries to link with when making app target
  54. #    DEBUG_LIBS - Libraries to link with when making debug target
  55. #    PROF_LIBS - Libraries to link with when making profile target
  56. #    OTHERLINKEDOFILES - Other relocatable files to (always) link in.
  57. #
  58. #    APP_MAKEFILE_DIR - Directory in which to find generic set of Makefiles
  59. #    MAKEFILEDIR - Directory in which to find $(MAKEFILE)
  60. #    MAKEFILE - Top level mechanism Makefile (e.g., app.make, bundle.make)
  61. #    INSTALLDIR - Directory app will be installed into by 'install' target
  62.  
  63.  
  64. # Change defaults assumed by the standard app makefiles here.  Edit the 
  65. # following default values as appropriate. (Note that if no Makefile.postamble 
  66. # exists, these values will have defaults set in common.make).
  67.  
  68. # Add Makefile.preamble, Makefile.postamble, and Makefile.dependencies here if
  69. # you would like changes to them to invalidate previous builds.  The project
  70. # depends on $(MAKEFILES) so that changes to Makefiles will trigger a re-build.
  71. #MAKEFILES = Makefile 
  72.  
  73. # Optimization flag passed to compiler:
  74. OPTIMIZATION_CFLAG = -O2 -pipe
  75.  
  76. # Flags passed to compiler in normal 'app' compiles:
  77. NORMAL_CFLAGS = $(OPTIMIZATION_CFLAG) -Wall
  78.  
  79. # Flags passed to compiler in 'debug' compiles:
  80. #DEBUG_CFLAGS = -g -Wall -DDEBUG
  81.  
  82. # Flags passed to compiler in 'profile' compiles
  83. #PROFILE_CFLAGS = -g -pg $(OPTIMIZATION_CFLAG) -Wall -DPROFILE
  84.  
  85. # Ownership and permissions of files installed by 'install' target
  86. #INSTALL_AS_USER = root        # User to chown app to
  87. #INSTALL_AS_GROUP = wheel      # Group to chgrp app to 
  88. #INSTALL_PERMISSIONS =         # If set, 'install' chmod's executable to this
  89.  
  90. # Options to strip for bundles, apps with bundles, and apps without bundles, 
  91. # respectively.
  92. RELOCATABLE_STRIP_OPTS = -x -u
  93. #DYLD_APP_STRIP_OPTS = -A -n
  94. #APP_STRIP_OPTS = 
  95. #TOOL_STRIP_OPTS = 
  96. # (Note: APP_STRIP_OPTS and TOOL_STRIP_OPTS default to empty, but
  97. #  developers doing their own dynamic loading should set this to 
  98. #  $(DYLD_APP_STRIP_OPTS)).
  99.  
  100.  
  101. #########################################################################
  102. # Put rules to extend the behavior of the standard Makefiles here.  Typical 
  103. # user-defined rules are before_install and after_install (please don't 
  104. # redefine things like install or app, as they are owned by the top-level 
  105. # Makefile API), which are rules that get invoked before and after the install 
  106. # target runs.  Such rules should be specified with the '::' syntax rather than 
  107. # a single colon.
  108.  
  109. libMiscSoundUtil.a: $(LIBOFILES)
  110.     $(LIBTOOL) $@ $(LIBOFILES)
  111.  
  112.